package operation.modules.workReport.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import operation.modules.workReport.dao.WorkCustomDao;
import operation.modules.workReport.entity.WorkCustomEntity;
import operation.modules.workReport.service.WorkCustomService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("workCustomService")
public class WorkCustomServiceImpl extends ServiceImpl<WorkCustomDao, WorkCustomEntity> implements WorkCustomService {
    private final Logger logger = LoggerFactory.getLogger(getClass());

    /**
     * 查询数据库所有表
     */
    public List<WorkCustomEntity> queryAll () {
        List<WorkCustomEntity> allDataList = baseMapper.queryAll();
        System.out.println("查询结果:" + allDataList);
        return allDataList;
    }

}
